﻿/*CSS Reset*/
* {
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    -webkit-tap-highlight-color: transparent;
    -webkit-text-size-adjust: none;
}

    *:focus {
        outline: none;
    }

html {
    color: #232323;
    font-family: Helvetica;
    font-size: 10px;
    background-color: #f8f8f8;
    height: 100%;
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

@media screen and (max-width: 340px) {
    html {
        font-size: 8px;
    }
}

@media screen and (min-width: 680px) {
    html {
        font-size: 14px;
    }
}

@media screen and (min-width: 900px) {
    html {
        font-size: 16px;
    }
}

body {
    font-size: 1.2em;
}

body, div, p, td, th, ul, li, dl, dt, dd {
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: normal;
    margin: 0;
}

article, aside, dialog, footer, header, section, nav, figure, menu {
    display: block;
}

fieldset {
    border: 0;
}

figure, menu {
    margin: 0;
    padding: 0;
}

ul {
    list-style-type: none;
}

a {
    background-color: transparent;
    text-decoration: none;
}

    a:active, a:hover {
        outline: 0;
    }

strong {
    font-weight: bold;
}

img {
    border: 0;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

textarea {
    resize: none;
}

.clear:after, .clear::after {
    content: '';
    display: block;
    visibility: hidden;
    height: 0;
    clear: both;
}

/*common*/
.interception {
    white-space: nowrap;
    text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
    overflow: hidden;
}

.btn {
    cursor: pointer;
    -webkit-user-select: none;
    border: none;
}


.btn-join {
    color: #232323;
    display: block;
    font-size: 12px;
    background: url('../img/btn_join.png') no-repeat center bottom;
    background-size: 100% auto;
    padding-left: 18px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    height: 30px;
    line-height: 30px;
    margin: 0 auto;
    text-align: center;
    width: 82px;
}

    .btn-join.new {
        background-position: center top;
    }

.hide {
    display: none;
}

.mask-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, .5);
    display: none;
}

#global-toast {
    color: #fff;
    position: fixed;
    width: 70%;
    padding: 20px 5%;
    font-size: 1.6rem;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.7);
    bottom: 45%;
    left: 50%;
    text-align: center;
    -moz-background-clip: padding-box;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    pointer-events: none;
}


[data-href] {
    cursor: pointer;
}

    [data-href] > * {
        pointer-events: none;
    }

.s-right {
    float: right;
}

.avatar {
    -moz-background-clip: padding-box;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    border: 2px solid #fff;
    border-radius: 1000px;
    -moz-border-radius: 1000px;
    display: inline-block;
}

    .avatar img {
        border-radius: 1000px;
        -moz-border-radius: 1000px;
        width: 100%;
        height: 100%;
    }

.disableClick {
    pointer-events: none;
}

.vertical {
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}


/*Icon Library Start*/
.icon {
    background: url('../img/icon.png') no-repeat;
    background-size: 100% auto;
    cursor: pointer;
    display: inline-block;
    -webkit-user-select: none;
    vertical-align: middle;
    width: 28px;
    height: 28px;
}

    .icon.i-hot {
        background-position: center -0.6%;
    }

    .icon.i-pregnancy {
        background-position: center 8%;
    }

    .icon.i-childrear {
        background-position: center 17%;
    }

    .icon.i-greenhand {
        background-position: center 26%;
    }

    .icon.i-order {
        background-position: center 35.5%;
    }

    .icon.i-report {
        background-position: center 45%;
    }

    .icon.i-group {
        background-position: center 54.5%;
    }

    .icon.i-notice {
        background-position: center 64%;
    }

    .icon.i-article {
        background-position: center 72.5%;
    }

    .icon.i-video {
        background-position: center 80.5%;
    }

    .icon.i-notice-s {
        background-position: center 86%;
    }

    .icon.i-viewAll {
        background-position: center 91%;
    }

    .icon.i-view {
        background-position: center 95.5%;
    }

    .icon.i-time {
        background-position: center 101%;
    }

.icon-plus {
    background: url('../img/icon_plus.png') no-repeat;
    background-size: 100% auto;
    cursor: pointer;
    display: inline-block;
    -webkit-user-select: none;
    vertical-align: middle;
    width: 28px;
    height: 30px;
}

    .icon-plus.i-loaction {
        background-position: center -4%;
    }

    .icon-plus.i-interpretation {
        background-position: center 58%;
    }

    .icon-plus.i-suggestion {
        background-position: center 110%;
    }
/*Icon Library End*/


/*No Result Start*/
.no-result {
    text-align: center;
    padding: 40px 3.2%;
    margin-top: 15%;
}

    .no-result img, .no-result a.goto {
        width: 63.5%;
    }

        .no-result img.goto {
            margin-top: 10%;
            padding-top: 40px;
            width: 43.3%;
        }

    .no-result a.goto {
        background-color: #ffee71;
        -moz-border-radius: 30px;
        -webkit-border-radius: 30px;
        border-radius: 30px;
        color: #232323;
        display: block;
        font-size: 2rem;
        height: 55px;
        line-height: 55px;
        margin: 5px auto 0 auto;
        -moz-background-clip: padding-box;
        -webkit-background-clip: padding-box;
        background-clip: padding-box;
    }
/*No Result End*/




/* ============================================================
Flex布局
============================================================ */
.flex-wrapper {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
}

.flex-v {
    -webkit-box-orient: vertical;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
}

.flex-1 {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

.flex-align-center {
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}

.flex-pack-center {
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.flex-pack-justify {
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

/* ============================================================
 弹出框
============================================================ */
.popup-wrapper {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}

    .popup-wrapper .popup-bg {
        background-color: rgba(0,0,0,0.53);
        width: 100%;
        height: 100%;
    }

.popup-layout {
    background-color: #fff;
    border-radius: 5px;
    -moz-border-radius: 5px;
    position: fixed;
    padding-top: 10px;
    padding-bottom: 10px;
    top: 25%;
    left: 6%;
    width: 88%;
    text-align: center;
}

    .popup-layout .btn-close {
        background: url('../img/icon_close.png') no-repeat left center;
        background-size: 24px 25px;
        cursor: pointer;
        display: block;
        width: 24px;
        height: 25px;
        position: absolute;
        right: -6px;
        top: -5px;
    }


/* ============================================================
 上拉下拉拖拽控件
============================================================ */
.dropload-up, .dropload-down {
    position: relative;
    height: 0;
    overflow: hidden;
    font-size: 12px;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.dropload-down {
    height: 50px;
}

.dropload-refresh, .dropload-update, .dropload-load, .dropload-noData {
    height: 50px;
    line-height: 50px;
    text-align: center;
}

    .dropload-load .loading {
        display: inline-block;
        height: 15px;
        width: 15px;
        border-radius: 100%;
        margin: 6px;
        border: 2px solid #666;
        border-bottom-color: transparent;
        vertical-align: middle;
        -webkit-animation: rotate 0.75s linear infinite;
        animation: rotate 0.75s linear infinite;
    }

.opacity {
    -webkit-animation: opacity 0.5s linear;
    animation: opacity 0.5s linear;
}

@-webkit-keyframes opacity {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes opacity {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-webkit-keyframes rotate {
    0% {
        -webkit-transform: rotate(0deg);
    }

    50% {
        -webkit-transform: rotate(180deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(180deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
